package com.xyh.concurrency.example.commonUnsafe.concurrentDemo;

import java.io.IOException;
import java.math.BigInteger;

import javax.servlet.Servlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

import afu.org.checkerframework.checker.lock.qual.GuardedBy;

@ThredSafe
public class CachedFatorsizer implements Servlet {
    @GuardedBy("this")
    private BigInteger bigInteger;
    @GuardedBy("this")
    private BigInteger[] bigIntegers;
    @GuardedBy("this")
    private long hists;

    @GuardedBy("this")
    private long cacheHists;

    @Override
    public void init(ServletConfig config) throws ServletException {


    }

    @Override
    public ServletConfig getServletConfig() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {


    }

    @Override
    public String getServletInfo() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void destroy() {
        // TODO Auto-generated method stub

    }

}
